#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
	double cm;
	scanf("%lf", &cm);
	printf("%.1f", (cm - 100)*0.9 * 2);
	system("PAUSE");
	return 0;
}